import LenaJS from '../../../../../../../library/src/main/js/components/index'

export default {
    data: {

    },
    changeValue(e) {
        var originalImage = this.$element("original-image");
        var filteredImageCanvas = this.$element("filtered-image");
        var filter = LenaJS[e.newValue];

        // Apply the initial filter
        LenaJS.filterImage(filteredImageCanvas, filter, originalImage, 50);
    },
}
